package day1.homework.one;

/**
 * @创建人 MBY381
 * @创建时间 2022/6/27 14:34
 * @描述 暂无
 */
public class TestOne {
    public static void main(String[] args) {
        BinaryLinkedList<Integer> theList = new BinaryLinkedList<>();
        theList.insertHead(20);
        theList.insertHead(40);
        theList.insertHead(60);
        theList.insertTail(10);
        theList.insertTail(30);
        theList.insertTail(50);

        theList.iterator();
        theList.reverseIterator();

        theList.deleteHead();
        theList.deleteTail();
        theList.delete(10);

        theList.iterator();

        theList.insertAfter(20, 70);
        theList.insertAfter(30, 80);

        theList.iterator();
        theList.reverseIterator();
    }
    
}
